package com.fynu.demo4;

public class Outer {
    int a = 10;


    public void show(){
        int a = 20;

        class Inner{

            int a = 30;
            String name;
            int age;

            public void method(){
                System.out.println("内部类的方法");
            }
        }
        System.out.println(a);
        Inner i = new Inner();
        System.out.println(i.a);
        System.out.println(this.a);

    }
}
